﻿@model Core.Models.Message

@{
    ViewBag.Title = "Contact Form Message Delete";
}

<h1>@ViewBag.Title</h1>
@using (Html.BeginForm())
{
@Html.HiddenFor(m => m.MessageId);
<p>&nbsp;</p>
    <div class="display-label">Received From</div>
    <div class="display-field">@Model.Contact.FullName <@Model.Contact.Email></div>

    <div class="display-label">Received</div>
    <div class="display-field">@String.Format("{0:g}", Model.CreateDT)</div>

    <div class="display-label">Subject</div>
    <div class="display-field">@Model.Subject</div>

    <div class="display-label">MessageText</div>
    <div class="display-field">@Html.Raw(Model.MessageText)</div>
<p>&nbsp;</p>
<p>
    <input type="submit" value="Delete" /> |
    @Html.ActionLink("Back to List", "Index")
</p>
}
